//package com.lix.runner;
//
//import com.lix.service.ScheduledTaskService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.ApplicationArguments;
//import org.springframework.boot.ApplicationRunner;
//import org.springframework.stereotype.Component;
//
///**
// * @Project: lys-blog-management
// * @Author: 1808814025@qq.com
// * @Create: 2022/11/16 17:19
// * @Description:
// **/
//@Slf4j
//@Component
//public class ScheduledTaskRunner implements ApplicationRunner {
//
//    @Autowired
//    private ScheduledTaskService scheduledTaskService;
//
//    @Override
//    public void run(ApplicationArguments args) throws Exception {
//        log.info(" >>>>>> 项目启动完毕, 开启 => 需要自启的任务 开始!");
//        scheduledTaskService.initAllTask();
//        log.info(" >>>>>> 项目启动完毕, 开启 => 需要自启的任务 结束！");
//    }
//}
